formatting for git controller. organize by git function