The .NET Stack Handbook

Appendix A

Git Clients

Github new repo example.

mkdir your_repo
cd your_repo
echo "" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:YOUR_USERNAME/YOUR_REPO.git
git push -u origin main

Push an existing local repo to a new github repo.

git remote add origin git@github.com:YOUR_USERNAME/YOUR_REPO.git
git branch -M main
git push -u origin main

Git, show current branch.

git branch --show-current

Git, show remotes.

git branch --remotes

Git commit changes.

git commit -m "hello world"

Git pull/rebase from

git pull --rebase

Git pull from remote and branch.

git pull --rebase upstream main

Git Visual Studio

About Git in Visual Studio

Git Rider

How to efficiently use Git integration in JetBrains Rider

Tortoise Git

The Power of Git – in a Windows Shell

Tortoise Git - windows shell git integration

Github Desktop

Experience Git without the struggle

GitHub Desktop