Gets the last commit message on the active branch

        Returns None if not in a git repo

def get_last_commit_message(self):
        """
        Gets the last commit message on the active branch

        Returns None if not in a git repo
        """
        # Check if we are currently in a repo
        try:
            branch = self.active_branch
            return self.commit(branch).message
        except InvalidGitRepositoryError:
            print "Not in a git repo"
            return None