-
Install Git
Windows:Download the installer from git-scm.com
Run the installer and follow the setup instructions (default options work fine for most users)
- Configure Git
Set your user identity (used for commits):
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
- Create or Clone a Repository To clone:
git clone git@github.com:username/repository.git
To create a new local repo:
mkdir my-project
cd my-project
git init
- Basic Workflow Commands
git status # Check current changes
git add . # Stage all changes
git commit -m "Message" # Commit staged changes
git push # Push to remote repo
git pull # Pull latest changes
- signup to GITHUB and then sign in:
click on the plus button and select " new repository" then create a new "repository"











Top comments (0)