Git Incorrect Upstream Branch

Today when I was working with a git had to face a funny situation. I made a local change and then pushed to remote but it wasn’t showing in remote properly and team is complaining that I have done something stupid.

Photo by Simon Berger on Unsplash

As I started digging deeper into the problem, this was the first observation.