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
If you clone with the --depth parameter, it sets .git/config not to fetch all branches, but only master.
--depth
.git/config
You can simply omit the parameter or update the configuration file from
fetch = +refs/heads/master:refs/remotes/origin/master
to
fetch = +refs/heads/*:refs/remotes/origin/*