Git Cookbook Checkout remote branch git checkout -t origin/my_remote_branch Change current directory to root of git project cd $(git rev-parse --show-cdup)