Git getting started

Git is a distributed revision control system with an emphasis on speed. Git was initially designed and developed by Linus Torvalds for Linux kernel development.

Every Git working directory is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server.

Currently git is being evaluated as a candidate to replace SVN


setup your name and email in @.gitconfig@:

    name = Xxxxx Yyyyyyyy
    email =

The name and email address needs to be identical to the settings in the git repository.

avoid end of line problems (CRLF/LF) in the development team

for details see:

You are on linux:

git config --global core.autocrlf input

you are on windows:

git config --global core.autocrlf true

NOTE: A much better solution you be to use the .gitattributes to set the correct behavior in the repositories but this is not feasible for us due to a bug in EGit:

configure rebase as default pull strategy for new branches


you can set this by

git config --global branch.autosetuprebase always 
for existing branches

For branches that already exist this setting must be applied individually, here ate the example of master and develop:

git config branch.master.rebase true
git config branch.develop.rebase true

, which can be scripted for multiple branches/repos if necessary.

Updated by Andreas Kohlbecker over 5 years ago ยท 17 revisions