Refactor controller actions relating to the Git repo into a separate controller