On Tuesday, 7 June,2016 I gave presentation on Version Control System and more about GIT. I enjoyed it a lot. While giving presentation Some of the questions arised and I am giving the answers of that questions here.
Q1:- What is -a flag in commit command?
Command:- commit -a
Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected.
Q2:- Difference between Git and Github?
Git is a revision control system, a tool to manage your source code history. GitHub is a hosting service for Git repositories. So they are not the same thing: Git the tool, GitHub the service for projects that use Git.
Git is a piece of software that you install locally on your computer which handles ‘version control’ for you.
Git = Local (on you computer), GitHub = Remote (web).
Github is literally a hub for Git repositories.