git command show current repo

C++
git remote get-url origin
Source

Also in C++: