₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,247 members, 8,510,834 topics. Date: Saturday, 31 October 2026 at 08:29 AM

Toggle theme

Git And Github - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Git And Github (1223 Views)

1 Reply

Git And Github by crowntoro(op): 9:38am On Apr 19, 2018
Hi Guys!
Please kindly assist on how to get started with git and GitHub?
I am finding a hard time understanding it.
Probably, you can recommend good materials that beginners can use to get started with it.
Re: Git And Github by Dudeonyx:
Codecademy has an interactive lesson on git, while GitHub is easy once you know git.

Practice makes perfect, so once you're done with the lesson immediately start using git and GitHub with whatever project you're working on atm.

Remember google is your friend, and issue you run into with git can be easily solved with some google-fu, but take care when merging branches with uncommitted files.

Lastly, if you're stuck on how any command works, git comes with help pages that can be accessed via "git help <command>" eg. "git help commit"

optional: google "how to generate an ssh key and add it to github", also consider getting a GUI for git (the windows installer for git comes with one, Linux does not) but note it won't be as flexible or powerful as typing the command yourself.

additional: Basically for git you just have to get used to incorporating it into your workflow then it becomes second nature.
a basic workflow or a new project goes roughly like this

git init

git status

git add <filename>
or
git add .

git commit -m "initial commit"

git remote add -m master origin https://github.com/example-user/example.git/
// github stuff
git remote pull origin

git remote push origin
Re: Git And Github by crowntoro(op): 3:23am On Apr 20, 2018
Thanks alot for your help
1 Reply

Learn Git And Github [*ARCHIVED*] • An Introduction To Git And Github • Tutorial On Git And Github • 2 • 3 • 4

ongoing Game project • Admob Trick (self clicking)Come Here • VB. NET Programmers Let's Connect Here.