https://github.com/resmo/homebrew/blob/master/Library/Formula/git-ftp.rb