this post was submitted on 16 Jun 2026
15 points (85.7% liked)

Explain Like I'm Five

21463 readers
14 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 3 years ago
MODERATORS
 

https://www.theodinproject.com/lessons/foundations-git-basics this is the lesson that i am following. I completed the Create the Repository section successfully. I also completed the Use the Git Workflow section successfully. It's the Modify a File or two where I am facing all the difficulties.

Can someone please show me the way how to do it ?

you are viewing a single comment's thread
view the rest of the comments
[–] pseudo@jlai.lu 2 points 4 days ago (1 children)

Git is about having a version of whatever project on a file in your computer (the file is called "local repository) and periodically synchronised its content with a remote file called central repository who is accessed potentially by other that you.

The first step is to make sure you have git, the software, on your computer and that you have access to a central repository, here GitHub where you need an account. Have you done that?

[–] TheViking@nord.pub 1 points 4 days ago (2 children)

I already had git installed in my WSL. Today l downloaded and installed git in my windows 10 as well. I also have a GitHub account.

[–] pseudo@jlai.lu 2 points 4 days ago

So now you need to connect Git (the software on your computer) to GitHub (the internet site that will host the central repository). That is done using the command

git config

And giving it your github credential as mentionned in the Setting Up Git lesson that is link in the lesson you are following.

[–] davidagain@lemmy.world 1 points 4 days ago (1 children)

GitHub desktop takes the learning out of git. You press buttons. It does its thing.

[–] TheViking@nord.pub 2 points 4 days ago (1 children)

I do have GitHub desktop, but haven't used it yet.

[–] davidagain@lemmy.world 1 points 4 days ago (1 children)

Muuuuch easier than learning git.

[–] Nighed@feddit.uk 3 points 3 days ago

It helps you learn what you WANT to do. Later you can learn HOW to do it in command line if you want to.

You can get by just fine using gui tools for most stuff, only rarely needing raw git commands (when you would probably be checking the docs anyway)

I don't understand how people check diffs without a GUI/IDE tbh.