Cheatsheet of git commands

Get current branch git branch Above command will list out all the branches in your current working directory that you checked out. The current active branch will have a asterik mark before it. Switch to different branch Say you are working on master branch. Now you need to switch to branch named develop git checkout […]