Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question
2  
Have a look at this link - git-scm.com/download/linux –  Junaid 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
add comment

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.

1 Answer

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
add comment

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