Added automatic adding of git repo to base