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 ?


Can you explain what your overall goal is? By the looks of your recent post history, you seem to be overloading with new things. I would mention, if you’re just trying to learn git, there are windows ways you use git, so you don’t also have to learn Linux at the same time. I used tortoisegit for a long time, and github has an app. If you’re trying to learn programming in general, I would just use vscode in windows and not worry about git yet. Do you have a concrete idea of where you want to be in X time?
I’m doing the Odin Project course. I found it very useful for developing an overall idea regarding programming. But l am focussing on git because I wish to develop new things and collaborate on interesting projects.
You asked a very nice question indeed. I come from the arts background with no knowledge of science and technology. But life places you in weird positions. I don’t have any faith in the education system anymore, even though my brother is a teacher. And l hate big corporates. I believe that in the future, individuals would co-operate so far as work is concerned, and things of value would get created. We would be making things for our own needs, and people would help in this making process to alleviate their creative urge.
Do l make any sense to you ??
No that makes a ton of sense. I do definitely worry that you’re taking on too many complex adjacent things at once then. I myself use docker containers inside WSL to do dev work with Git and all these various things on a daily basis, but it took me a few years to feel comfortable like this. I think I would suggest you focus on the coding (python, javascript, etc etc) first and if it’s something that you can do in windows using just vscode, thats going to have less friction than trying to learn git at the same time as trying to learn command-line Linux. And once you feel comfortable with vscoding in windows, swap over to vscode in wsl, that way the IDE (vscode) is still familiar, but now you’re layering on the next level. And honestly, Git is pretty low on the stuff to learn. I know entire companies that do software version ingredients and sharing via email (aka, when Bob updates code he and Alice both use, he just emails her a copy) crazy, but it works for them.
On the other hand, this Odin project looks pretty well set up so that maybe after a couple weeks of feeling terrible, you pop out on the other side where it took me years to get to!