Moving git checkpoint logic into a contextmanager.