Remotes is not a valid git command. Also, set the environmental variable correctly.
Various hacks that are used by developers.