Port to recent pygit2, perform one commit per change and make the file pep8 valid