How to change git from Chinese to English in mac

I remember I install git through port install git-core. And it show Chinese word as default like the followings:

# 位于分支 master
# 您的分支领先 'origin/master' 共 2 个提交。
nothing to commit, working directory clean


  • Bash PROMPT_COMMAND used to show git branch before git update to 1.8
  • git: stage only new files
  • My custom git subcommands have stopped working
  • How to determine last merged branch in git?
  • How do I get the SHA of HEAD in a specific git submodule?
  • Autocomplete git in mac OS not working?
  • # 位于分支 master
    # 您的分支领先 'origin/master' 共 2 个提交。
    # 尚未暂存以备提交的变更:
    #   (使用 "git add <file>..." 更新要提交的内容)
    #   (使用 "git checkout -- <file>..." 丢弃工作区的改动)
    #   修改:      2.txt
    no changes added to commit (use "git add" and/or "git commit -a")

    I work on mac os with Chinese language, and I want to know how can just change git’s language back to English.

  • Github for Windows Git Shell (PowerShell) - How to “sync settings” across Git Shell and normal PowerShell
  • why config folder is not pushed?
  • Git and Xcode: Why do I have to agree to Xcode's T&Cs to use Git?
  • Is it possible to get a list of merges into a branch from the Github website OR API?
  • What does the double-dash option do on git reset?
  • How to avoid detached headstate in git?
  • One Solution collect form web for “How to change git from Chinese to English in mac”

    export LC_ALL=en_US.UTF-8

    Add it to your .bashrc or .zshrc file

    Git Baby is a git and github fan, let's start git clone.