atlassian has some great getting started guides for git cli https://www.atlassian.com/git/tutorials/setting-up-a-repository