initializes modgit