Use this repository to practice the core Git workflow and GitHub interactions:
Git Command | Description |
---|---|
git status |
Check the status of your working directory and staging area. |
git add . |
Stage all changes for the next commit. |
git commit -m "Message" |
Record staged changes to the repository history. |
git log |
Review the commit history. |
git push |
Upload local branch commits to the remote GitHub repository. |
git pull |
Fetch and merge changes from the remote repository to your local branch. |
git branch |
List, create, or delete branches. |
git checkout <branch-name> / git switch <branch-name> |
Switch between branches. |
git merge <branch-name> |
Integrate changes from one branch into the current branch. |