git push linked to the wrong/with two accounts

git push linked to the wrong/with two accounts

I am using a Laptop that they handed down to me at my internship, when i go to push it was pushing with a different account. Even though I signed in and got authenticated when I pushed. (I also removed keychain password from mac)&nbsp;<a href="https://i.stack.imgur.com/TKK0v.png" target="_blank"><img src="https://i.stack.imgur.com/TKK0v.png"></a>

I am using a Laptop that they handed down to me at my internship, when i go to push it was pushing with a different account. Even though I signed in and got authenticated when I pushed. (I also removed keychain password from mac) 

As you can see the 'first' is my account, the others even though i signed in and got authenticated are not my github account, but has the same username

I tried this method of committing after looking around

git commit --author='name <email>' -m '...'

but this ended up causing this 

I then tried this command

git config --global --unset-all user.name

And when I go to push it pushed with this, the person that owned the laptop originally... 

git github

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Git It? How to use Git and Github

Learn how to use Git and Github 🐙🐱 Contributing to open-source is satisfying on many levels. Not only does it validate your skills for recruiters, but it leads to higher quality software that empowers developers to build better products. But submitting your first pull request on GitHub can be intimidating. The goal of this guide is to give you a clear set of steps for contributing any OS project

Basic Git Commands you need to Master

All basic commands you need to know to run git .Basic Git Commands you need to Master

Git for Beginners - Git & GitHub Fundamentals In Depth

This git tutorial for beginners is designed to teach you the git command line tool and how it works with github. This beginner git tutorial teaches github fu...

7 Best Practices in GIT for Your Code Quality

Git plays a significant role in software development. It allows developers to work on the same code base at the same time. Check out 7 best practices for Git.There is no doubt that Git plays a significant role in software development. It allows developers to work on the same code base at the same time. Still, developers struggle for code quality.

Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth

This git tutorial for beginners is designed to teach you the git command line tool and how it works with github. This beginner git tutorial teaches github fu...