git remote show origin
Here is what the above code is Doing:
1. git remote add origin https://github.com/username/repo.git
– This adds a remote repository to your local git repository.
– The name of the remote repository is origin.
– The URL of the remote repository is https://github.com/username/repo.git.
2. git remote -v
– This shows you the remote repository that you just added.
3. git remote show origin
– This shows you more information about the remote repository.