Separate fetchgitPrivate into a separate file