git – Fatal: unable to access ‚…‘: The requested URL returned error: 504

Od posmura

Problem:

$ git pull origin master
fatal: unable to access 'http://bbucket.server.xxx/scm/project/repo.git/': The requested URL returned error: 504

Solution:

$ git config --global http.proxy ""