Restore git repository to bitbucket status