git multiple commands one line

C++
Use && to combine git commands

example:
git checkout branch_name && git fetch && git pull && git add --all && git commit -m "latest changes" && git push
Source

Also in C++: