Skip to main content

Github

Getting Started with Github

  • Project
note

Give access to the project

  • Issues
  • Pull requests (PRs)
  • Branches
  • Add, commit and push
  • Pull changes and update

Quiz

Which git command sets up a git tracking of a project?

  • A. init
  • B. status
  • C. add
  • D. commit
    Show answer
    A. This initializes a git respository.

Which git command is used to tell git to track a file

  • A. init
  • B. status
  • C. add
  • D. commit
    Show answer
    C. This adds a file to gits control.

Which git command is used to record changes?

  • A. init
  • B. status
  • C. add
  • D. commit
    Show answer
    D. This records tracked changes.

Which git command is used to switch branches?

  • A. log
  • B. diff
  • C. checkout
  • D. merge
    Show answer
    C. Yes, this changes to the specified branch.