I have been pushing to a remote Bitbucket repository and recently a colleague has pushed a new branch he created to the same repository.
I\'m trying to fetch the cha
The remote section also specifies fetch rules. You could add something like this into it to fetch all branches from the remote:
remote
fetch = +refs/heads/*:refs/remotes/origin/*
(Or replace origin with bitbucket.)
origin
bitbucket
Please read about it here: 10.5 Git Internals - The Refspec