tidy_files: Completed git_commit method