change git path to github command line code example Example: git change remote $ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git