git log --oneline
git status
git branch new-feature
git branch -a
git checkout new-features
git branch -D new-features
# quick create and checkout
git checkout -b new-feature-b
multiple people working on different branches without effecting master
merging
be on the branch you want to merge to git checkout master git merge new-feature
conflicts
git merge conflicting-branch
git add .
git commit wq
------------------ THE END ------------------
Hosted repositories : central online repositories
create repo online and clone it to master
push changes merge to master
crete -> git account
git status
git push 'remote-url' main
# make alinas for the url
git remote add Qasim(origin) ulr-for-your-git
# new repo
git clone url-for-therepo
git remote -v