added missing functions to gitinit