GIT: Get remote repository URL

So you need the remote repository URL. Maybe because you are trying to git add remote.
You can type the below text to get the full info (needs to be done inside the folder you are working in):

git remote show origin


git config --get remote.origin.url

After you know this, if you want you can create a new remote branch

git add remote <name you want for your new branch> <URL you just got>
git add remote newbranch

Kevin Kivi

I am a professional software developer. My software interests include PHP, Perl, React Native, Node.js and tinkering with anything Linux related. I also have front-end knowledge.

Among other things, on my spare time I do ultra-running, swimming, software developing for fun and watch Mr. Robot.