Merging Branches into Master

So a lot of times in my group projects I make a branch from the origin/master and make a million commit to it and usually, nobody updates the master whilst I’m working on my own branch. This results in my branch being ahead of master by 17 commits and nothing new in master.

This is a note to future-self about how to effectively just merge my branch into master so that my branch is master.