Move a function to new GitManager.