remote: error: By default, updating the current branch in a non-bare repository Posted on June 6, 2015June 6, 2015 by coder Error : remote: error: By default, updating the current branch in a non-bare repository Solution: git config –bool core.bare true