I am new to git and am becoming familiar with the basic commands.
Let’s say I cloned a master branch of some project and I made some changes in the branch, and
I have commited those changes to that branch. How would I update the corresponding master branch using the current branch?
If you mean “How do I update the master branch on the remote git repository?” that is accomplished using git push.
Of course, this assumes your local branch is named “master” as well.
If you mean “How do I update my local master branch with changes I committed on a separate branch in my local repository?” that is accomplished using git merge