Changed order of operations in gitcreate