r/git • • 21d ago

Should I be learning Git

So i stated college like 3 months ago and everyone is telling me donsomething or the other but i don't know where to start ...I know how to use github but not git I stated by reading the pro git book it's fun reading it but is git really that usefull or should I be learning something else

113 Upvotes

161 comments sorted by

View all comments

124

u/over_pw 21d ago

Short answer: yes
Long answer: absolutely yes

You can thank me later. Also you don’t need to become a git pro on day one, learn just the basics, commits, pulls, pushes, how branches work, gitflow and pull requests, merging. More advanced topics can wait.

12

u/Linesey 20d ago

I hate git. I hate git so much.

Git is in the top 10 most hated bits of software I have ever used (only some CAD tools beat it).

And i would never be without it again for anything short of a gun to my head.

I have my own Forgejo server running at this point.

It has saved my ass several times this month, let alone since i started using it.

so yeah, learn git.

3

u/Bright-Historian-216 19d ago

personally, i like vscode's built in git UI. it's very basic, you still need commands for more complex jobs and you can and absolutely will at some point shoot yourself in the foot (see also: "vscode deleted three months of my work"), but just commiting, pushing, pulling and branching is very easy once you know not to press "shoot yourself in the foot" button.

5

u/mrequenes 20d ago

I’m with you. From a user standpoint, it’s the most unnecessarily difficult piece of CLI-based software I have ever used. And the GUI wrappers around it are also bad, because the CLI underneath is bad.

One piece of git advice says “download the first version of git source and read it thoroughly”. That says a lot.

The man page for a single command is like 10,000 words.

But absolutely necessary to learn as a software developer.

4

u/Mediocre-Pumpkin6522 20d ago

You've never used Subversion :)

1

u/ZodiacFoxDev 19d ago

Hg mercurial was the shiz. Also, perforce and checkout/commit locks was wild too.

2

u/Pleasant-Rush-2375 20d ago

use lazygit. it’s very interactive and good for git

1

u/RangePsychological41 14d ago

That’s ridiculous. I learned git in a day and have never had an issue. That includes working on dozens of repos with hundreds of people. Your comment is embarrassing. So much so that I would put money on it that you never used reflog.

Git is super simple. Like actually.

1

u/Significant_Trash392 18d ago

If you hate git, imagine living in the 80s when you had to take a floppy disk that was the latest build, install it then build on top of it , make your own build then save it to a new floppy disk as the latest build and put it in a door way for others to share that one floppy disk. This was how version control was done in the 80s . 10 times more frusterating then git. I can tell you that now.

0

u/RangePsychological41 14d ago

That’s such a skill issue wow. Git is simple and close to perfect. I’ve never heard anyone say they hate git in all my years. I skilled person can learn it in a single day. Literally.

3

u/elephantdingo 21d ago

But you should aim to become a Git pro in ten years time, though. ;)

1

u/vonkrueger 19d ago

Just to elaborate, get good with:

git {checkout, branch, add, rm, commit, push, diff}

Look at the cheat sheets. Have ChatGPT or Claude test you on it.

ETA: also git reset