Open your terminal or command prompt and run:
git --version
If Git is installed: You’ll see something like:
git version 2.42.0
If Git is NOT installed: You’ll see an error.
Windows Installation:
Run the following commands in terminal:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
✅ This sets your identity for commits.
ssh-keygen -t ed25519 -C "your.email@example.com"
Then run:
cat ~/.ssh/id_ed25519.pub
📋 Copy the output and add it to:
Go to your GitHub repo and copy the SSH link, then run:
git clone git@github.com:your-username/your-repo.git
ssh -T git@github.com
Expected Output:
Hi your-username! You've successfully authenticated,
but GitHub does not provide shell access.