Add ref.; fails to push some refs error in Git