After reading this , I understood that there are 3 ways to mention url of a remote along with push and pull ref spec in case they are skipped for git push/pull.
a remote in the Git configuration file: $GIT_DIR/config,
a file in the $GIT_DIR/remotes directory, or
a file in the $GIT_DIR/branches directory.
What is the priority order among them in case conflicting values occur ?