Git for Dummies?

Been there, git can get quite confusing. There are already good links to sources in other comments so no need to add more. Just watch them all until the moment when it finally 'clicks' and suddenly git starts to make sense. Other than that I would advice several things:

  1. Use git. Use it for everything, even small projects. Start repository somewhere and start using it. Git is little less confusing when you are single developer. Start small, like maybe having only single master branch and having all code there. Soon you will be pulling/pushing/reverting without problems, than you will start making branches, than something else.... and in no time, adding one piece of git functionality at the time, you will find yourself doing advanced stuff.
  2. If console commands don`t work for you, use some UI. I like TortoiseGit but there are plenty of others. It surely looks cool when you work from Konsole or gitBash, but it might be easier with proper GUI. Maybe even look for extensions in your IDE.
  3. IMO the core thing to understand with git is that it is all about interaction of local and remote code. Local code is every new thing you have written and it exists only at your computer and nobody else knows about it. If your computer get stolen your work is lost. And there is remote code (on some server like github/bitbucket/CodePlex or ton of others) where you and other developers share 'common' code. And all those fancy commands are about moving new or existing code between your local and remote repositories and dealing with problems that might arise (e.g. two developers have been working on the same code simultaneously).
  4. your quote:

I feel stupid that it's easy to everyone else.

Don`t. Everything is easy once you know it. If you are surrounded by people who seem to be easily working with git, it only means they are dealing with it longer than you. Trust me, they had their fair share of WTF moments with git in the past.

/r/learnprogramming Thread