step 2: configure git with username and email
- git config --global user.name "Muhammad Zeeshan"
- git config --global user.email "fullstackdeveloper486@gmail.com"
- git config --list
step 3: how to create git repo (hidden repo) ?
- Answer git init
how to check the hidden file like ./git?
- Answer: ls -la
step 4: git status
- Viewing Modified Files
- Untracked Files
step 5: git add .
- Track all files
step 6: git commit -m "some message"
- describe changing
step 7: git log
- History of commits
step 8: create github repo
step 9: git remote add origin git@github.com:Hi-Dear-486/git--github.git
Answer: local repo link with remote repo
step 10: git remote -v
Answer: verify remote
step 9: git branch -M
Answer: renaming branch
step 10:git push -u origin main
Answer: local repo content ->remote repo