git branch -v will show you all of your local branches, their commit messages, and which branch is checked out.
git status will show you the status of the branch you currently have checked out. Before you switch branches, merge, pull or push you want to make sure you have a clean working directory and you can check with git status.
git checkout -b branch_name will create a branch from the branch you currently have checked out, and it will be called "branch_name" or whatever you'd like to call it.
git add . is a useful command that will version control any new files and remove from version control any files that you've deleted. If you have a file that has been added to git that you have deleted from your repository, it won't be deleted from git until you use git add ..
Learning how to navigate your Raspberry Pi can be tricky—but it doesn't have to be! We've comprised a list of the most common Raspberry Pi commands. Not sure where to start?