Made it update branch and version if no git