Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to install git in linux and how to work with git?

share|improve this question

closed as not a real question by manatwork, Renan, jw013, jasonwryan, Michael Mrozek Nov 28 '12 at 18:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Have a look at this link - git-scm.com/download/linux – JHS Nov 28 '12 at 12:16
Installing git is the same as installing any package, and you didn't even mention which distro you're using, so unless you're having specific problems this is too broad – Michael Mrozek Nov 28 '12 at 18:18

Just install like any other package using your Linux distribution's package management. Command-line that would be something like

yum install git

for Fedora/RedHat/CentOS based distributions,

apt-get install git

for Debian/Ubuntu based distributions.

Consult your distribution's documentation on how to install packages. I'm sure it provides the very common git package. :)

Then on how to use git, use the general Git documentation, for example start reading "1.3 Getting Started - Git Basics".

share|improve this answer

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