to start a git project
git init
to add all your changes
git add .
to commit all your changes with message
git commit -am " initial commit "
git remote add origin + your git repo link
to navigate to the main branch
git branch main
to create a new branch
git branch -b crm
to go to the branch you created
git branch checkoutto push your branch to the origin
git push origin crm
to get every updates from the origin
git fetch origin
# Check out your local main branchgit checkout main
# Compare your local main branch with the remote main branch
git log main..origin/main# Check the status of your local main branch git status
# Update your local main branch with the latest changes from the remote main branch