SyntaxFix
Write A Post
Hire A Developer
Questions
You have your arguments to the remote add command reversed:
remote add
git remote add <NAME> <PATH>
So:
git remote add bak /home/sas/dev/apps/smx/repo/bak/ontologybackend/.git
See git remote --help for more information.
git remote --help