{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/37150","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37150/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37150/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37150/events","html_url":"https://github.com/Homebrew/homebrew/issues/37150","id":58757088,"number":37150,"title":"Problem installing git","user":{"login":"markaduffy","id":212691,"avatar_url":"https://avatars.githubusercontent.com/u/212691?v=3","gravatar_id":"","url":"https://api.github.com/users/markaduffy","html_url":"https://github.com/markaduffy","followers_url":"https://api.github.com/users/markaduffy/followers","following_url":"https://api.github.com/users/markaduffy/following{/other_user}","gists_url":"https://api.github.com/users/markaduffy/gists{/gist_id}","starred_url":"https://api.github.com/users/markaduffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markaduffy/subscriptions","organizations_url":"https://api.github.com/users/markaduffy/orgs","repos_url":"https://api.github.com/users/markaduffy/repos","events_url":"https://api.github.com/users/markaduffy/events{/privacy}","received_events_url":"https://api.github.com/users/markaduffy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T15:46:43Z","updated_at":"2015-02-24T15:46:43Z","closed_at":null,"body":"Having problems installing git with homebrew. Tried every past solution available. I do have write permissions on /usr/local. I can do brew update and brew doctor with no issues, but it says I have git-git (whatever that is) already installed. I have oh-my-zsh shell. i have xcode with git and atom installed if that may be relevant. I tried using bash shell, and got same issue.\r\n\r\n\tLast login: Tue Feb 24 09:56:18 on console\r\n\t    You have new mail.\r\n\r\n\t# user at mymac in ~ [9:57:48]\r\n\t$ brew install git\r\n\tError: git-git already installed\r\n\tTo install this version, first `brew unlink git'\r\n\r\n\t# user at mymac in ~ [9:57:54]\r\n\t$ brew unlink git\r\n\tError: No such keg: /usr/local/Cellar/git\r\n\r\n\t# user at mymac in ~ [9:58:04]\r\n\t$ brew update\r\n\tUpdated Homebrew from b33e8a75 to cf5325ac.\r\n\t==> New Formulae\r\n\tdeisctl         gcovr       pdf-redact-tools\r\n\t==> Updated Formulae\r\n\tactivemq    couchdb-lucene  hamsterdb   libgadu     redpen\r\n\tavian       datomic     httpie      libmpdclient    unittest\r\n\tberkeley-db gtk-gnutella    ice     mysql\r\n\tcctools     h2o     ipsumdump   mysql-cluster\r\n\r\n\t# user at mymac in ~ [10:01:04]\r\n\t$ brew doctor\r\n\tYour system is ready to brew.\r\n\r\n\t# user at mymac in ~ [10:01:25]\r\n\t$ brew install git\r\n\tError: git-git already installed\r\n\tTo install this version, first `brew unlink git'\r\n\r\n\t# user at mymac in ~ [10:01:30]\r\n\t$ brew unlink git\r\n\tError: No such keg: /usr/local/Cellar/git\r\n\r\n\t# user at mymac in ~ [10:01:35]\r\n\t$ brew link git\r\n\tError: No such keg: /usr/local/Cellar/git\r\n\r\n\t# user at mymac in ~ [10:01:44]\r\n\t$ git --version\r\n\tzsh: command not found: git\r\n\r\n\t# user at mymac in ~ [10:02:01]\r\n\t$ brew --version\r\n\t0.9.5\r\n\r\n\t# user at mymac in ~ [10:06:17]\r\n\t$ git-git --version\r\n\tzsh: command not found: git-git\r\n\r\n\t# user at mymac in ~ [10:11:32]\r\n\t$ which git-git\r\n\tgit-git not found\r\n\r\nWith Bash\r\n\r\n\tmymac:~ user$ git --version \r\n        -bash: git: command not found \r\n        mymac:~ user$ brew install git \r\n        Error: git-git already installed To install this version, first `brew    unlink git' \r\n        mymac:~ user$ –"}}