I believe that it is safe, yes, if you do not have scripts that refer to the remote by name, for example (in this case, they will still use the old remote name).
Team:
git remote rename <old> <new>
, - foo, foo bar, bar. , :
git remote -v show
git branch -a -v
.