Fixed git up breaking on untracked remote branches.