What commands do I need to run to correct this github network graph?

I took a screenshot of the network graph and posted the link below. Earlier this month I pushed my code to master. I then made some new changes to my branch and committed again. I want the dot circled in red to originate from the tip of the master branch, like the one that is circled in blue(except that was a previous one and is not at the ‘tip’). What commands do I need to run to achieve this? Also what should I have done before my latest commit to have prevented this?

Hi @theryewall and welcome!

Are you trying to make a change to your commit history?