Get url of current path in Terminal SSH

Viewed 65917

I am having trouble using git on my own server. I am having trouble where I add the origin path (remote add) as I am entering the wrong url. By finding out the correct path to the .git repository on my server, I should be able to enter that into remote add and it should now find the git repository. So, what I would like to know is how can you get the current path of the folder you are browsing via SSH?

Thanks

2 Answers
Related