extract git methods and autocompletions