I have problem while using git in one of the platform I'm using, it shows this error while the url is already define in .git/config file:
Note:if I use master branch no error, but if I use none branch I get the error. even if the code is identical
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://bitbucket.XXXXX.com/project.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "none"]
remote = origin
merge = refs/heads/none
if I try to do "git submodule add URL" === error alreedy exist.