My locale is German. LANG=de_DE.UTF-8. I would like to keep it.

Is it possible to change git's language to English without changing the locale?


2 Answers 2


You can add alias to you .bashrc or .bash_profile

alias git='LANG=en_US.UTF-8 git'

If LANG doesn't work, try LC_ALL or LANGUAGE


This worked for me:

echo "export LANGUAGE='en_US.UTF-8 git'" >> ~/.bashrc

Ubuntu 14.04 LTS, git version 1.9.1

  • 3
    This solution is wrong. First of all: The value for LANGUAGE is invalid. git is not allowed there. Second: You are setting the language for your whole bash session. It will affect other programs as well.
    – itsafire
    Aug 7, 2017 at 12:12
  • This answer is confused about what LANGUAGE does.
    – alexis
    Nov 22, 2018 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.