Git and github are 2 seperate things. Git is a tool for version control that anyone can use locally to backup their work.
Git runs on the command line and there are several versions of it available (I reccomend
https://github.com/dahlbyk/posh-git/wiki)
For that you create a repository - a project folder that contains your projects files
make some changes in the repository - well you change the folders contents
add them to git - using the git command
git add (which files you want to add here)
and save them to the repository - for that you use
git commit -m 'Make your comment about the new changes - first line is the title of the change`nthe next lines are the full documentation'
The real power of git however comes from the ability to share these saved changes with other repositories on other PCs.
They are called remotes.
With the
git push command you can upload the changes that you made to a remote repository.
With
git pull you can download changes made from a remote to your local repository.
With
git clone you can set up a local repository from a remote one.
Services like github and similar essentially just offer to host those remote repositories for you.
They often have a lot of other features - like a webinterface to browse your own and other repositories - or adding documentation or a wiki.
However the very basic tool is still git.
Git and github are 2 seperate things. Git is a tool for version control that anyone can use locally to backup their work.
Git runs on the command line and there are several versions of it available (I reccomend https://github.com/dahlbyk/posh-git/wiki)
For that you create a repository - a project folder that contains your projects files
make some changes in the repository - well you change the folders contents
add them to git - using the git command [c]git add (which files you want to add here)[/c]
and save them to the repository - for that you use [c]git commit -m 'Make your comment about the new changes - first line is the title of the change`nthe next lines are the full documentation'[/c]
The real power of git however comes from the ability to share these saved changes with other repositories on other PCs.
They are called remotes.
With the [c]git push[/c] command you can upload the changes that you made to a remote repository.
With [c]git pull[/c] you can download changes made from a remote to your local repository.
With [c]git clone[/c] you can set up a local repository from a remote one.
Services like github and similar essentially just offer to host those remote repositories for you.
They often have a lot of other features - like a webinterface to browse your own and other repositories - or adding documentation or a wiki.
However the very basic tool is still git.