automatically look for Git directory in default paths
re-use the connect promise