Fixing updating of git repo