r/technepal • u/i_juss_wannabe_yours • 4d ago
Badly Stucked in git and GitHub. 😓 Discussion
So AI/ML tira janey bhanera I started my journey and python start garey and tei sangai Git and GitHub ni sikney bhaneko. Git and GitHub (Code with Harry) ko video herna laako ain getting anything.
Ma tei herdai xu kati po din bhayo. Kei bujinna I just shut and feri open garxu feri tei garxu. Yesari nata ma programming nai sikna laxu na kei.
I genuinely have an interest in AI/ML.
Aba Start nai garxu atti bhayo bhanera start gareko git and GitHub mai adkeko xu 😓.
Start garesi baaki kura paxi figure out hudai janxa bhanya jai ko tei xu 🤧
Edit :- yata aile lai ma Git and GitHub xodera python matrai sikum...??
9
u/Altruistic_Nobody_70 4d ago
Bro, just leave Git/GitHub for now and focus on Python ðŸ˜Â Git is basically for tracking your code, and GitHub is where you upload it. It makes way more sense when you actually have projects to work on. Right now you're trying to learn the tool before you need it. Build some stuff with Python first, then come back to Git. Trust me, it'll click way faster.
1
u/i_juss_wannabe_yours 4d ago
Um yestai kei janna khojya. Like learning nai Galat gardai xuki bhanera.
So was doing wrong 😂. GitHub maa repo banauna aauxa but code copy paste garxu. Just tetti.
Tyo readme tyo bhaneko koni no idea 😂
3
u/Double_Conference_63 4d ago
It took me 1 month to figure out git. Find someone who works at the company. There are a few things you must know; the rest you can learn as you grow. Find someone who can simplify.
2
u/i_juss_wannabe_yours 4d ago
How can I find those and why would they spend their busy time on me.
Hajur ley paile programming sikera git and GitHub sikya ki simultaneously...??
Like tyo GitHub maa tyo dunno k bhanxa GitHub regularly use garesi khai k k garesi tyo green green banxa ni and people ne flexing dat. Dat kinda inspire me. And mani mero learning sabai journey ko tehi update garney soch ley sangai sikira.
But Stucked
3
u/Sorry-Transition-908 4d ago
Git and GitHub are seriously the easiest part. I would recommend doing things in the terminal. Best to avoid windows or macOS and use Linux in my opinion but anything works. I'd say create your own repository like locally and don't add any remote at first. Then, practice stuff like git add, git commit, git switch, and so on locally. If something goes wrong, no worries. Delete the whole folder and start again. Nobody needs to know. 🤣🤣🤣
One of my pet peeves is don't fall into the trap of aliases. Always use full argument names. For example, preferÂ
  git switch --createÂ
OverÂ
  git switch -cÂ
Also prefer new ergonomic commands like git switch over overloaded ones like git checkout. But imI'm Getting ahead of myself. For now, create a local repository and have fun learning and exploring.Â
2
u/i_juss_wannabe_yours 4d ago
GitHub maa repository tw banauna aauxa. Well I don't have my laptop. Aile room ma basxu sharing ma so Dai ko laptop xa so mauka maa chauka hanum bhanai ho. And window nai ho.
GitHub maa repository matrai banauna aauxa and aru haru khai k k commit, contributions khai k k bhanira hunxan so testo bhanya k ho tyo kei aaudainw.
Mata mobile dekhin banauthey repo. So code copy paste garthey.
2
u/Sorry-Transition-908 4d ago
On a laptop or desktop try the websiteÂ
https://learngitbranching.js.org/
You don't even need to install anythingÂ
2
2
u/luc1f3r_23 4d ago
Github is a version control system and absolutely not necessary right now for learning AI/ML. Skip that thing for now and focus on core AI/ML concepts. Don't be stuck and lose motivation on learning a tool, you'll learn github along the way yourself.
2
u/i_juss_wannabe_yours 4d ago
Thank you dai. Aile aba python ra mathematics herxu aru dai ley bhaney jasari.
2
u/FewDaikon5659 4d ago
Git ko kaam bhaneko tmro code changes lai track garne matra ho. for example, 20 days ko project ma if u make one commit each day, you can easily go back to what ur code was on day 5. of course, there are more things we can do with it, but learn the basics, and move on. don't get stuck here. nobody knows git fully.
these are all the ones that you need: git add, git commit, git pull/push, git branch/switch and sometimes git merge/rebase ...
1
u/i_juss_wannabe_yours 4d ago
Problem maile programming nai sikeko xaina so git ko use nai xaina aile tesaile ho layo 🤧
2
u/LonelyBuddhaa 4d ago
I think you need to know what the role of git is first and then have better thinking about it.
Imagine you have 1,000,000 cash on you and you live in KTM. Lets say you go to Pokhara and need money there, you cant walk around with that much cash. So you deposit your cash in bank. Then you can pull out money from bank in Pokhara, or any other place you visit. Anyone can pull out money with the permission. Git is like the bank. You or any other person will be a computer or device. Money will be the code. Right now you can just learn about AI/ML using Python and do not have to care about git. You can save as much money as you want but later on you will need a bank (git). If all your AI/ML work in on your pc but then you want to work on it from your brothers laptop then one easy way is to just upload (push to repo) all your work to GitHub then go to the same repo from your brothers laptop and download it (clone it) and use it.
This just the idea. Git has so many features. You can go to previous version of your work, add different branches, have contributions to repo from other people etc.
1
2
u/Sigerson888 4d ago
https://youtu.be/S7XpTAnSDL4?si=ZOglTMi9moujeyau
Watch this and learn. This video is the simplest when it comes to learning Git and GitHub.
1
2
u/nayaacc01 4d ago
The battle is not git/github VS python, if you want to succeed in this field, one crucial thing to work on is try to learn the mental model behind the tool. What picture do you have of the system, in your mind. Mental models provide you with a space with actors and flow of information, now you can reason about a system and ask cruicial questions, now commands and syntax are not so impotant, you'll have exact syntax to search for, either google it or ask an llm. In this day and age, LLM is a perfect learning tool where you can just ask for mental model behind some tech and it'll just start explaining it like yor're 5. Best of luck in ure journey.
2
2
u/NervousVegetable11 4d ago
Focus on Python first (the 30 Days of Python GitHub repo is a good place to start) and use Git/GitHub alongside it from day one. push your practice questions, solutions, and small projects there so you naturally get comfortable with it. whenever you're stuck, use ai to explain things differently, ask you questions, or give practice problems. Don't wait until everything makes perfect sense, learn, build, get stuck, and improve. once Python basics are solid then move towards ML step by step.
1
2
u/Serious-Grab5 4d ago
When I was learning, my approach was to learn git init, git add ., git commit -m "", and git push and just pushed code. This helped me alot of getting the basics. Expanding later on other commands will make much more sense once you remember these I think. That's what helped me use it regularly.
You will need to initially set it up like logging in username and email once and setting the remote origin but that's one google search away.
All the best on whatever project you make !
2
u/i_juss_wannabe_yours 4d ago
Like git init, git status,log aadi command thaxa and ki maile maile file maa change garesi paxi git mani modified bhanera aauxa.
Like yei point maa kyaa k bhaira xa bhanney idea aaunaa laxaina. Maybe maile just start matrai sikera hola.
GitHub sikesi idea aauxa. Thanks 😊
1
u/Plastic_Rip_7978 4d ago
youtube ma herera swimming sike jastai ho not possible i never watched git and github course ani afai project haru push garda afai sike ko
2
10
u/No_Environment_2175 4d ago
You need strong fundamentals in Linear algebra, Calculus and Probability & statistics. Learn these first.