Ensuring remote repository is up to date