git config --global user.name "Your GitHub Username" git config --global user.email "your-email@example.com" Use the same email attached to your GitHub account. Check your configuration:
git --version # Example output: git version 2.34.1 Link Git to your GitHub account locally: github in ubuntu
sudo apt update sudo apt install git -y Verify the installation: git config --global user
ssh -T git@github.com # You should see: "Hi username! You've successfully authenticated..." Clone a Repository git clone https://github.com/username/repository.git cd repository Make Your First Commit Create or edit a file: github in ubuntu
sudo apt install gh -y Authenticate:
حساب کاربری ندارید؟
ایجاد یک حساب کاربری