diff --git a/answers.md b/answers.md new file mode 100644 index 0000000..b4ff2d5 --- /dev/null +++ b/answers.md @@ -0,0 +1,18 @@ +What is the difference between git and GitHub? +- Git is the version control system whereas GitHub is a cloud based system that hosts git repositories. + +Why is version control important? +- Version control is so so so important for collaborative projects. Version control lets many people work on a code base at the same time (on different branches), and allows us to track all changes through Github. + +What is the command to view a branch's commit history? +- git log + +What command lists all the branches in your local +repository? +- git branch + +Which one lists those in the remote? +- git status + +To prevent specific files and folders from being commited to a repository, what should you do? +- put them in the git ignore file \ No newline at end of file