Search this site
Embedded Files
Digital Technologies
  • Home
    • NZC Level 1-2
      • Digital Devices (CL 1-2)
      • Input & Output (CL 1-2)
      • End-User (CL 1-2)
      • Decomposition (CL 1-2)
      • Sequence (CL 1-2)
      • Debugging (CL 1-2)
    • NZC Level 3
      • Digital Devices (CL3)
      • Digital Ethics & Society (CL3)
      • Input & Output (CL3)
      • End-User (CL3)
      • Decomposition (CL3)
      • Sequence (CL3)
      • Algorithms (CL3)
      • Computer Program (CL3)
      • Software & Applications (CL3)
      • File Types (CL3)
      • Testing (CL3)
      • Debugging (CL3)
    • NZC Level 4
      • Digital Devices (CL4)
      • Input & Output (CL4)
      • End-User (CL4)
      • Digital Ethics & Society (CL4)
      • Digital Implications (CL4)
      • Decomposition (CL4)
      • Sequence (CL4)
      • Algorithms (CL4)
      • Debugging (CL4)
      • Testing (CL4)
      • Computer Program (CL4)
      • Software & Applications (CL4)
      • File Types (CL4)
    • NZC Level 5
      • Digital Devices (CL5)
      • Input & Output (CL5)
      • End-User (CL5)
      • Digital Ethics & Society (CL5)
      • Digital Implications (CL5)
      • Decomposition (CL5)
      • Sequence (CL5)
      • Computer Program (CL5)
      • Software & Applications (CL5)
      • Operating Systems (OS) (CL5)
      • File Types (CL5)
      • Binary (CL5)
      • File Management (CL5)
      • Privacy (CL5)
      • Computer Security (CL5)
      • Debugging (CL5)
      • Testing (CL5)
      • Comparison Operator (CL)
      • Logical Operator (CL5)
      • Selection (CL5)
      • Iteration (CL5)
      • Data Structures (CL5)
      • Data Validation (CL5)
      • Design Process (CL5)
      • Inquiry & Digital Research (CL5)
      • Project Management & Version Control (CL5)
    • NCEA Level 1
      • Computer Program (CL6)
      • Variable (CL6)
      • Data Structures (CL6)
      • Comparison Operator (CL6)
      • Logical Operator (CL6)
      • Selection (CL6)
      • Iteration (CL6)
      • Data Validation (CL6)
      • Advanced Programming Pradigms (OOP & Persistent Storage) (CL6)
      • Binary (CL6)
      • Searching & Sorting Algorithms (CL6)
      • Privacy (CL6)
      • Computer Security (CL6)
      • Database System & Quering (CL6)
      • Network Development (CL6)
      • Electronics Development (CL6)
      • Digital Media Development (Advanced) (CL6)
      • User Interface (UI) (CL6)
      • User Experience (UX) (CL6)
      • Reflective Practice & Evaluation (CL6)
      • Digital Devices (CL6)
      • Input & Output (CL6)
      • End-User (CL6)
      • Decomposition (CL6)
      • Sequence (CL6)
      • Algorithms (CL6)
      • Debugging (CL6)
      • Testing (CL6)
      • Design Process (CL6)
      • Digital Ethics & Society (CL6)
      • Digital Implications (CL6)
      • Hardware (CL6)
      • Software & Applications (CL6)
      • File Types (CL6)
      • File Management (CL6)
      • Operating Systems (OS) (CL6)
      • Inquiry & Digital Research (CL6)
      • Project Management & Version Control (CL6)
      • Collaboration & Teamwork (CL6)
    • NCEA Level 2
      • Digital Devices
      • Input & Output
      • End-User
      • Decomposition
      • Sequence
      • Algorithms
      • Debugging
      • Computer Program
      • Software & Applications
      • File Types
      • File Management
      • Operating Systems (OS)
      • Privacy
      • Computer Security
      • Design Process
      • Digital Ethics & Society
      • Digital Implications
      • Hardware
      • Variable
      • Data Structures
      • Comparison Operator
      • Logical Operator
      • Selection
      • Iteration
      • Data Validation
      • Advanced Programming Pradigms (OOP & Persistent Storage)
      • Binary
      • Data Transmission
      • Searching & Sorting Algorithms
      • Privacy
      • Computer Security
      • Encryption
      • Error Control
      • Database System & Quering
      • Network Communication Protocls
      • Network Development
      • Embedded Systems
      • Electronics Development
      • Digital Media Development (Advanced)
      • Computer Graphics
      • User Interface (UI)
      • User Experience (UX)
      • Inquiry & Digital Research
      • Project Management & Version Control
      • Collaboration & Teamwork
      • Reflective Practice & Evaluation
    • NCEA Level 3
      • Digital Devices
      • Input & Output
      • End-User
      • Decomposition
      • Sequence
      • Algorithms
      • Debugging
      • Computer Program
      • Software & Applications
      • File Types
      • File Management
      • Operating Systems (OS)
      • Privacy
      • Computer Security
      • Design Process
      • Digital Ethics & Society
      • Digital Implications
      • Hardware
      • Variable
      • Data Structures
      • Comparison Operator
      • Logical Operator
      • Selection
      • Iteration
      • Data Validation
      • Advanced Programming Pradigms (OOP & Persistent Storage)
      • Binary
      • Data Transmission
      • Searching & Sorting Algorithms
      • Privacy
      • Computer Security
      • Encryption
      • Error Control
      • Database System & Quering
      • Network Communication Protocls
      • Network Development
      • Embedded Systems
      • Electronics Development
      • Digital Media Development (Advanced)
      • Computer Graphics
      • User Interface (UI)
      • User Experience (UX)
      • Inquiry & Digital Research
      • Project Management & Version Control
      • Collaboration & Teamwork
      • Reflective Practice & Evaluation
      • Complexity and Tractability
      • Artifical Intelligence
      • Computer Vision
      • Big Data
      • Formal Languages
      • Electronic Environments
    • Concepts
  • 7DGT/8DGT
  • 9DGT/10DGT
  • NCEA Level 1
  • NCEA Level 2
  • NCEA Level 3
  • Tutorials
    • Git/GitHub [OLD]
    • GitHub Pages [OLD]
Digital Technologies
  • Home
    • NZC Level 1-2
      • Digital Devices (CL 1-2)
      • Input & Output (CL 1-2)
      • End-User (CL 1-2)
      • Decomposition (CL 1-2)
      • Sequence (CL 1-2)
      • Debugging (CL 1-2)
    • NZC Level 3
      • Digital Devices (CL3)
      • Digital Ethics & Society (CL3)
      • Input & Output (CL3)
      • End-User (CL3)
      • Decomposition (CL3)
      • Sequence (CL3)
      • Algorithms (CL3)
      • Computer Program (CL3)
      • Software & Applications (CL3)
      • File Types (CL3)
      • Testing (CL3)
      • Debugging (CL3)
    • NZC Level 4
      • Digital Devices (CL4)
      • Input & Output (CL4)
      • End-User (CL4)
      • Digital Ethics & Society (CL4)
      • Digital Implications (CL4)
      • Decomposition (CL4)
      • Sequence (CL4)
      • Algorithms (CL4)
      • Debugging (CL4)
      • Testing (CL4)
      • Computer Program (CL4)
      • Software & Applications (CL4)
      • File Types (CL4)
    • NZC Level 5
      • Digital Devices (CL5)
      • Input & Output (CL5)
      • End-User (CL5)
      • Digital Ethics & Society (CL5)
      • Digital Implications (CL5)
      • Decomposition (CL5)
      • Sequence (CL5)
      • Computer Program (CL5)
      • Software & Applications (CL5)
      • Operating Systems (OS) (CL5)
      • File Types (CL5)
      • Binary (CL5)
      • File Management (CL5)
      • Privacy (CL5)
      • Computer Security (CL5)
      • Debugging (CL5)
      • Testing (CL5)
      • Comparison Operator (CL)
      • Logical Operator (CL5)
      • Selection (CL5)
      • Iteration (CL5)
      • Data Structures (CL5)
      • Data Validation (CL5)
      • Design Process (CL5)
      • Inquiry & Digital Research (CL5)
      • Project Management & Version Control (CL5)
    • NCEA Level 1
      • Computer Program (CL6)
      • Variable (CL6)
      • Data Structures (CL6)
      • Comparison Operator (CL6)
      • Logical Operator (CL6)
      • Selection (CL6)
      • Iteration (CL6)
      • Data Validation (CL6)
      • Advanced Programming Pradigms (OOP & Persistent Storage) (CL6)
      • Binary (CL6)
      • Searching & Sorting Algorithms (CL6)
      • Privacy (CL6)
      • Computer Security (CL6)
      • Database System & Quering (CL6)
      • Network Development (CL6)
      • Electronics Development (CL6)
      • Digital Media Development (Advanced) (CL6)
      • User Interface (UI) (CL6)
      • User Experience (UX) (CL6)
      • Reflective Practice & Evaluation (CL6)
      • Digital Devices (CL6)
      • Input & Output (CL6)
      • End-User (CL6)
      • Decomposition (CL6)
      • Sequence (CL6)
      • Algorithms (CL6)
      • Debugging (CL6)
      • Testing (CL6)
      • Design Process (CL6)
      • Digital Ethics & Society (CL6)
      • Digital Implications (CL6)
      • Hardware (CL6)
      • Software & Applications (CL6)
      • File Types (CL6)
      • File Management (CL6)
      • Operating Systems (OS) (CL6)
      • Inquiry & Digital Research (CL6)
      • Project Management & Version Control (CL6)
      • Collaboration & Teamwork (CL6)
    • NCEA Level 2
      • Digital Devices
      • Input & Output
      • End-User
      • Decomposition
      • Sequence
      • Algorithms
      • Debugging
      • Computer Program
      • Software & Applications
      • File Types
      • File Management
      • Operating Systems (OS)
      • Privacy
      • Computer Security
      • Design Process
      • Digital Ethics & Society
      • Digital Implications
      • Hardware
      • Variable
      • Data Structures
      • Comparison Operator
      • Logical Operator
      • Selection
      • Iteration
      • Data Validation
      • Advanced Programming Pradigms (OOP & Persistent Storage)
      • Binary
      • Data Transmission
      • Searching & Sorting Algorithms
      • Privacy
      • Computer Security
      • Encryption
      • Error Control
      • Database System & Quering
      • Network Communication Protocls
      • Network Development
      • Embedded Systems
      • Electronics Development
      • Digital Media Development (Advanced)
      • Computer Graphics
      • User Interface (UI)
      • User Experience (UX)
      • Inquiry & Digital Research
      • Project Management & Version Control
      • Collaboration & Teamwork
      • Reflective Practice & Evaluation
    • NCEA Level 3
      • Digital Devices
      • Input & Output
      • End-User
      • Decomposition
      • Sequence
      • Algorithms
      • Debugging
      • Computer Program
      • Software & Applications
      • File Types
      • File Management
      • Operating Systems (OS)
      • Privacy
      • Computer Security
      • Design Process
      • Digital Ethics & Society
      • Digital Implications
      • Hardware
      • Variable
      • Data Structures
      • Comparison Operator
      • Logical Operator
      • Selection
      • Iteration
      • Data Validation
      • Advanced Programming Pradigms (OOP & Persistent Storage)
      • Binary
      • Data Transmission
      • Searching & Sorting Algorithms
      • Privacy
      • Computer Security
      • Encryption
      • Error Control
      • Database System & Quering
      • Network Communication Protocls
      • Network Development
      • Embedded Systems
      • Electronics Development
      • Digital Media Development (Advanced)
      • Computer Graphics
      • User Interface (UI)
      • User Experience (UX)
      • Inquiry & Digital Research
      • Project Management & Version Control
      • Collaboration & Teamwork
      • Reflective Practice & Evaluation
      • Complexity and Tractability
      • Artifical Intelligence
      • Computer Vision
      • Big Data
      • Formal Languages
      • Electronic Environments
    • Concepts
  • 7DGT/8DGT
  • 9DGT/10DGT
  • NCEA Level 1
  • NCEA Level 2
  • NCEA Level 3
  • Tutorials
    • Git/GitHub [OLD]
    • GitHub Pages [OLD]
  • More
    • Home
      • NZC Level 1-2
        • Digital Devices (CL 1-2)
        • Input & Output (CL 1-2)
        • End-User (CL 1-2)
        • Decomposition (CL 1-2)
        • Sequence (CL 1-2)
        • Debugging (CL 1-2)
      • NZC Level 3
        • Digital Devices (CL3)
        • Digital Ethics & Society (CL3)
        • Input & Output (CL3)
        • End-User (CL3)
        • Decomposition (CL3)
        • Sequence (CL3)
        • Algorithms (CL3)
        • Computer Program (CL3)
        • Software & Applications (CL3)
        • File Types (CL3)
        • Testing (CL3)
        • Debugging (CL3)
      • NZC Level 4
        • Digital Devices (CL4)
        • Input & Output (CL4)
        • End-User (CL4)
        • Digital Ethics & Society (CL4)
        • Digital Implications (CL4)
        • Decomposition (CL4)
        • Sequence (CL4)
        • Algorithms (CL4)
        • Debugging (CL4)
        • Testing (CL4)
        • Computer Program (CL4)
        • Software & Applications (CL4)
        • File Types (CL4)
      • NZC Level 5
        • Digital Devices (CL5)
        • Input & Output (CL5)
        • End-User (CL5)
        • Digital Ethics & Society (CL5)
        • Digital Implications (CL5)
        • Decomposition (CL5)
        • Sequence (CL5)
        • Computer Program (CL5)
        • Software & Applications (CL5)
        • Operating Systems (OS) (CL5)
        • File Types (CL5)
        • Binary (CL5)
        • File Management (CL5)
        • Privacy (CL5)
        • Computer Security (CL5)
        • Debugging (CL5)
        • Testing (CL5)
        • Comparison Operator (CL)
        • Logical Operator (CL5)
        • Selection (CL5)
        • Iteration (CL5)
        • Data Structures (CL5)
        • Data Validation (CL5)
        • Design Process (CL5)
        • Inquiry & Digital Research (CL5)
        • Project Management & Version Control (CL5)
      • NCEA Level 1
        • Computer Program (CL6)
        • Variable (CL6)
        • Data Structures (CL6)
        • Comparison Operator (CL6)
        • Logical Operator (CL6)
        • Selection (CL6)
        • Iteration (CL6)
        • Data Validation (CL6)
        • Advanced Programming Pradigms (OOP & Persistent Storage) (CL6)
        • Binary (CL6)
        • Searching & Sorting Algorithms (CL6)
        • Privacy (CL6)
        • Computer Security (CL6)
        • Database System & Quering (CL6)
        • Network Development (CL6)
        • Electronics Development (CL6)
        • Digital Media Development (Advanced) (CL6)
        • User Interface (UI) (CL6)
        • User Experience (UX) (CL6)
        • Reflective Practice & Evaluation (CL6)
        • Digital Devices (CL6)
        • Input & Output (CL6)
        • End-User (CL6)
        • Decomposition (CL6)
        • Sequence (CL6)
        • Algorithms (CL6)
        • Debugging (CL6)
        • Testing (CL6)
        • Design Process (CL6)
        • Digital Ethics & Society (CL6)
        • Digital Implications (CL6)
        • Hardware (CL6)
        • Software & Applications (CL6)
        • File Types (CL6)
        • File Management (CL6)
        • Operating Systems (OS) (CL6)
        • Inquiry & Digital Research (CL6)
        • Project Management & Version Control (CL6)
        • Collaboration & Teamwork (CL6)
      • NCEA Level 2
        • Digital Devices
        • Input & Output
        • End-User
        • Decomposition
        • Sequence
        • Algorithms
        • Debugging
        • Computer Program
        • Software & Applications
        • File Types
        • File Management
        • Operating Systems (OS)
        • Privacy
        • Computer Security
        • Design Process
        • Digital Ethics & Society
        • Digital Implications
        • Hardware
        • Variable
        • Data Structures
        • Comparison Operator
        • Logical Operator
        • Selection
        • Iteration
        • Data Validation
        • Advanced Programming Pradigms (OOP & Persistent Storage)
        • Binary
        • Data Transmission
        • Searching & Sorting Algorithms
        • Privacy
        • Computer Security
        • Encryption
        • Error Control
        • Database System & Quering
        • Network Communication Protocls
        • Network Development
        • Embedded Systems
        • Electronics Development
        • Digital Media Development (Advanced)
        • Computer Graphics
        • User Interface (UI)
        • User Experience (UX)
        • Inquiry & Digital Research
        • Project Management & Version Control
        • Collaboration & Teamwork
        • Reflective Practice & Evaluation
      • NCEA Level 3
        • Digital Devices
        • Input & Output
        • End-User
        • Decomposition
        • Sequence
        • Algorithms
        • Debugging
        • Computer Program
        • Software & Applications
        • File Types
        • File Management
        • Operating Systems (OS)
        • Privacy
        • Computer Security
        • Design Process
        • Digital Ethics & Society
        • Digital Implications
        • Hardware
        • Variable
        • Data Structures
        • Comparison Operator
        • Logical Operator
        • Selection
        • Iteration
        • Data Validation
        • Advanced Programming Pradigms (OOP & Persistent Storage)
        • Binary
        • Data Transmission
        • Searching & Sorting Algorithms
        • Privacy
        • Computer Security
        • Encryption
        • Error Control
        • Database System & Quering
        • Network Communication Protocls
        • Network Development
        • Embedded Systems
        • Electronics Development
        • Digital Media Development (Advanced)
        • Computer Graphics
        • User Interface (UI)
        • User Experience (UX)
        • Inquiry & Digital Research
        • Project Management & Version Control
        • Collaboration & Teamwork
        • Reflective Practice & Evaluation
        • Complexity and Tractability
        • Artifical Intelligence
        • Computer Vision
        • Big Data
        • Formal Languages
        • Electronic Environments
      • Concepts
    • 7DGT/8DGT
    • 9DGT/10DGT
    • NCEA Level 1
    • NCEA Level 2
    • NCEA Level 3
    • Tutorials
      • Git/GitHub [OLD]
      • GitHub Pages [OLD]

GitHub

GitHub Website

Understanding Version Control

Think about when you're working on a school project, like writing an essay, creating a presentation, or building a website. You probably save your work many times. Sometimes you might even make copies: "MyEssay_Draft1," "MyEssay_Final," "MyEssay_ReallyFinal."

This can get a bit messy, right? It's hard to remember what changes you made between "Draft1" and "Final," and it's easy to accidentally save over something important.

What is Version Control?

Version control is a special system that helps us manage changes to our digital projects over time, ensuring we are good stewards of our creative efforts. Instead of saving countless separate files, it keeps a detailed, organised history of every change you make.

Think of it like a meticulous scribe or an archivist, carefully recording everything, so you can:

  1. Records every single modification you make to your project, no matter how small.

  2. Document when each change was made and who made it, fostering accountability and clarity.

  3. Allows you to instantly retrieve any previous version of your project exactly as it was at that point, much like revisiting a past lesson to guide future actions.

  4. Enables multiple individuals to collaborate on the same project harmoniously, ensuring that everyone's contributions are preserved and integrated, reflecting the collaborative spirit of the community.

It provides a powerful "undo" capability for your entire project, combined with the ability to rewind and explore any stage of its development.

Why Do We Use Git and GitHub?

Git is a powerful version control system. It's the core "engine" that runs locally on your computer, diligently tracking and managing all these changes within your project files.

GitHub is a widely used web-based platform that complements Git. Think of GitHub as a secure cloud-based repository and a collaborative hub for your Git projects – much like a shared digital common ground where individuals bring their unique talents to contribute to a collective endeavour.

Installing Git and using GitHub

The first part of the video shows how to install Git on your device. The school computers already has Git installed.

The second part of the video shows how to clone a repository, stage changed, commit, and push to GitHub.

Malaitai. (2023, March 11). Installing Git and using GitHub [Video] YouTube.

https://www.youtube.com/watch?v=jSnKPzDVAlo

Cloning a repository

Whether you are creating your own repository or you are accepting an assignment, you need to clone the repository onto your device. This is basically copying and pasting to your device. 

  1. Firstly, you will need to find somewhere to clone your repository on your device/local device. Whether that is your Desktop or a folder, make sure that the folder does not move around. 

  2. Copy the repository link by clicking on the clipboard

  3. Open VS Code on your local device

  4. Control + Shift + P

  5. Type git clone

  6. Press Enter

  7. Paste (Control + V)

  8. Press Enter

  9. Use the folder from Step 1. as your Repository Location

  10. Once it's cloned, click Open

  11. If it asks if you trust this folder, click "Yes, I trust the authors"

Committing and Pushing your repository

One of the complicated things in the beginning of using Git is committing and pushing your repository. This helps you keep track of your project and enables you to go back to any commit you have done in the past.

When you have made modifications to your code, added files, removed files, or made any changes to your repository, you have made changes. These changes show the difference from your last committed version to your most recent version. You need to stage the changes and prepare them to commit them if you want it saved on GitHub.

  1. Go to Visual Studio Code > Source Control

  2. Click the file that has been either created, modified, or removed

  3. Click on the + symbol to stage the change. This will put the file in the Staged  Changes section

  4. In the Message section, write a short and brief message/comment about what you have done 

e.g., Added index.html file

  1. Click on the tick to commit the changes

  2. Repeat steps 3, 4 and 5 until all your files are committed

  3. Once all the files you have changed have been committed, Control + Shift + P.

  4. Type git push

  5. Press Enter

  6. All your files that you have committed on your local repository are now on your remote repository on GitHub

Digital Technologies

Mr Malaitai 2025
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse