A general solution may be to fetch all of the remote branches and make them local branches, as follows:
git --git-dir=$CACHE_PATH/.git fetch --update-head-ok $REPOLOCATION +refs/heads/*:refs/heads/*
This is the fix I will propose.
A general solution may be to fetch all of the remote branches and make them local branches, as follows:
git --git-dir= $CACHE_ PATH/.git fetch --update-head-ok $REPOLOCATION +refs/heads/ *:refs/ heads/*
This is the fix I will propose.