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 ?


wait WSL Terminal? so you’re using the Windows Subsystem for Linux?
I think you’re making this harder on yourself than you need to. It’s like you’re trying to use a saw to cut a piece of wood before knowing what wood even is.
I’ll be honest with you, don’t use VS code, you’re not ready for it. All you need right now is quite literally a regular windows terminal and a basic IDE. notepad++ or sublime text. ONCE you’ve learned the basics you can go back to VS Code, that VS Code terminal is gonna mess you up.
A. make sure you have git installed just open your windows terminal and do
winget install Git.GitB. again in the regular terminal navigate to your repo you’ve created.
C. open notepad++ or sublime text or whatever basic IDE you picked and create a README.md and save in your repos directory.
D. back in your terminal do
git add .make sure you have a space betweenaddand.E. then do
git commit -m "initial README.md commit"F. finally do
git pushand you’re done. you can then check it withgit statusand it’ll show there’s nothing to commit, everythings up to date.I think the tools were messing you up. I don’t recommend VS Code for beginners, it messes them up. keep it simple for now.
Somebody suggested me eclipse ide just now.
don’t. Eclipse is slow to start, it’s heavy, and the interface is garbage. Honestly just go with Notepad++ or Sublime Text or even Zed.
Trust me I’ve been a web dev for 25 years, you don’t need all the bells and whistles right now. you literally just need a notepad and a terminal.