Have you ever accidentally committed to master? ) To prevent this from happening again, I just added to my .bashrc: cd ~/my_git_repo && git checkout vitich && cd -
cd ~/my_git_repo && git checkout vitich && cd -
Of course, I have already created my own branch: git checkout -b vitich
git checkout -b vitich