小喵 🐈 says to Happy Web Developer Note: Git 1.8.2 added the possibility to track branches. See some of the answers below.