How to get the Git URL of a local Git repository?

We can get the URL of a local Git repository from which it was originally cloned from via using the below command-

git config --get remote.origin.url OR git remote show origin

Git commands….

1) Clone repository-

git clone “xyz.git”

2) Add files-

git add “filename.ext” OR *.*

3) Commit files-

git commit -m “message”

4) Push to remote repository-

git push origin master

5) Delete files-

git rm “file-1.txt”    [It deletes from both local and repo]

git rm –cached “file-1.txt”  [It removes only form repo]

6) Delete folder-

git rm -rf “folder name”

7) Status-

git status

8) Pull from remote repository-

git pull –all