New Repo Creation
Chester Wyke June 15, 2023 Updated: April 26, 2025 #GitNB: These instructions assume github with ssh key auth but any would be similar
- Create empty repo in cloud
- Create folder on local machine with same name (same name is recommended not required)
- Open a command prompt in the folder and initialize git
- Create .gitignorefile
- 
Add file and commit 
- 
Add remote repo connection (Can be copied from github) 
- (Skippable) Move to main branch (-M is a shortcut for --move --force.) This step can usually be skipped in a new repo
- Push branch to remote and set current branch as a tracking branch (-u sets current brach to tracking)