What about the master branch for local git configuration in a git repository to make it track remote master branch? You may append these lines to .git/config in your cloned repository directory: [branch "master"] remote = origin merge = refs/heads/master Read more: Git: setting a local branch’s upstream tracking branch How to clone a snapshot of a remote repository at a specific branch? How to merge a commit from another branch to my current branch in git? How to create a git branch on remote git server How to rename a branch name in the remote git server? How to change the audio track for .mkv files in mplayer? How to list a git repository’s all branches on the remote server? Subversion: How to revert my changes in my local copy of the repository?