@staticmethod<EOL><INDENT>def gitcontext(commit_msg_str, changed_files=None):<DEDENT>
gitcontext = GitContext.from_commit_msg(commit_msg_str)<EOL>commit = gitcontext.commits[-<NUM_LIT:1>]<EOL>if changed_files:<EOL><INDENT>commit.changed_files = changed_files<EOL><DEDENT>return gitcontext<EOL>
Utility method to easily create gitcontext objects based on a given commit msg string and an optional set of
        changed files