Important
GitHub repository options
Do not select Fork or Use this template. These options will interfere with the repository setup commands later in this README.
- π« Fork β Do not use
- π« Use this template β Do not use
- β Star β The setup commands later in this README will bookmark this repository for you.
- ποΈ Watch
- Students: Not recommended. Watching is not needed and may generate unnecessary notifications.
- Faculty: Consider selecting Watch β Custom β Releases + Issues to receive major repository updates and follow reported issues.
Note
π New for 2026 C-5: IT 140 now uses GitHub repositories to provide assignment starter files, development resources, and supporting documentation.
If you find a problem with this GitHub repository or its instructions, or have a suggestion for improvement, please open GitHub Issues to review existing issues or create a new issue.
- Course: IT 140 - Introduction to Scripting
- Task Title: 2-3: Software Development Introduction
- Task Type: Required, graded, one submission required
- Repository Version: 1.0.2
- Repository Version DTG: 2026-08-30-12-56
Complete the following tasks in order to complete the Module Two assignment. Each task is described in detail below.
- 0. Meet the Prerequisites
- 1. Setup the Assignment
- 2. Complete Part A
- 3. Complete Part B
- 4. Submit Your Assignment
- Get Help and Support
-
Required. To start this assignment, you must have completed the GitHub and Codio sections of the Module One Setup Tasks. If you have not done so, please complete those tasks now. Return here after completing those tasks.
-
Recommended. Complete all Module One and Two zyBooks activities (Participation and Lab) in D2L Brightspace. These activities introduce you to the skills you will use in this assignment.
We strongly recommend that you complete this first assignment using the Codio Virtual Desktop (CVD). The CVD provides a consistent user experience regardless of your local computer's operating system. If you do choose to use your local computer, start at Step 2 below.
-
Launch the CVD now and carry out the remaining instructions from within the CVD.
- If you bookmarked the CVD, open that link.
- If not, open the CVD from within D2L Brightspace. Follow the Launch the CVD instructions if you need a refresher.
-
Click the browser icon on the taskbar to open a browser. Then, point the browser to
https://github.com/GC-STEM/it140-m2-assignment. Arrange the browser window on one side of your screen, as shown below. -
Click the terminal icon on the taskbar to open a terminal window. Arrange it on the other side of your screen from the browser window, as shown below.
-
In the CVD terminal window, type
update_it140.shand press Enter. This will update the course IDE to the latest version. Be patient. It may take a few minutes to complete. If using a local computer, use the appropriate script extension for your operating system:- Windows:
update_it140.ps1 - macOS :
update_it140.zsh - Linux :
update_it140.sh
- Windows:
-
Review the output of the update script. You are mainly interested in
Failures: 0and theRestart required:message.- If
Failuresis greater than0, review the Get Help and Support section. - If
Restart required: No, typeexitand press Enter to close the terminal window. - If
Restart required: Yes, click the RESTART VM button on the Codio taskbar and wait for the CVD to restart.
- If
-
Open a new terminal window and copy the following command block and paste it into the new terminal window. If prompted about a "Potentially Unsafe Paste", click the Paste button. Press Enter to run the commands.
cd ~/Repos gh auth setup-git gh api --method PUT /user/starred/GC-STEM/it140-m2-assignment gh repo create it140-m2-assignment --template GC-STEM/it140-m2-assignment --private --clone cd it140-m2-assignment git remote -v
Note. The above commands only work the first time you run them successfully. If you want to update your repository later or start over, see the Get Help and Support section.
-
Review the output of the last command. You should see output similar to the what is shown below, except with your GitHub username in place of
petey-penmen. -
Determine if you want to continue to Part A now or if you want to stop and continue later.
- If you want to continue to Part A now, type
code .and press Enter. Skip to Step 3 in 2. Complete Part A. - If done for now, type
exitand press Enter to close the terminal window. Bookmark the CVD page in your local browser, if you have not already, so you can return to it later without going through D2L Brightspace.
- If you want to continue to Part A now, type
-
Launch the CVD and carry out the remaining instructions from within the CVD.
-
Open a terminal window. Copy and paste the following command to open the assignment repository in VS Code. Press Enter to run.
code ~/Repos/it140-m2-assignmentReminder. Path shortcuts: In terminal commands,
~means your home folder, and.means your current folder. For example:cd ~/Reposmeans change directory to theReposfolder inside your home folder.code .opens the current folder in VS Code.
-
If the Chat pane opens in VS Code, click the X in the upper right corner for that pane to close it. Do NOT click the X to close the entire VS Code window right above it.
-
In the Explorer pane of VS Code"
- Click > it140-m2-assignment to expand the folder, if needed.
- Click > Part-A to expand the folder, if needed.
-
Right-click on the
Part-A/README.mdfile and select Open to the Side. -
You will now follow instructions in the
Part-A/README.mdfile. When ready, maximize the VS Code window by clicking the Maximize button in the upper right corner of the VS Code window. Look for the green box in the previous screenshot.
-
If not already running, launch the CVD and carry out the remaining instructions from within the CVD.
-
Open a terminal window. Copy and paste the following command to open the assignment repository in VS Code. Press Enter to run.
code ~/Repos/it140-m2-assignment -
If the Chat pane opens in VS Code, click the X in the upper right corner for that pane to close it. Do NOT click the X to close the entire VS Code window.
-
In the Explorer pane of VS Code"
- Click > it140-m2-assignment to expand the folder, if needed.
- Click > Part-B to expand the folder, if needed.
-
Right-click on the
Part-B/README.mdfile and select Open to the Side. -
You will now follow instructions in the
Part-B/README.mdfile. When ready, maximize the VS Code window by clicking the Maximize button in the upper right corner of the VS Code window right above it. Look for the green box in the previous screenshot.
In your IT 140 course in D2L Brightspace, go to the Course Menu and select Assignments. Click on the 2-3 Assignment: Software Development Introduction link. Follow the instructions to submit your assignment. Submit the following files in Brightspace as one submission:
-
Graded files:
-
Ungraded files:
If Step 5 reports Failures greater than 0, stop before continuing to Step 6. Follow the Action required and Next step shown in the Update summary.
If the problem is not resolved, see Setup Problems and Support. That page explains what information to collect and where to ask for help with course IDE setup and lifecycle-script problems.
Before asking for help, save the exact Update summary and error message. The lifecycle scripts also save a diagnostic log under ~/it140/logs/ or the corresponding it140/logs folder in your user profile.
Warning
Do not attempt manual sudo, package-manager, system, or course-file repairs unless the course instructions or technical support specifically direct you to do so.
Your Module Two assignment will have several related copies:
-
Public course template on GitHub:
GC-STEM/it140-m2-assignment. This is the course-provided starting point. You cannot modify this copy. -
Your personal GitHub repository:
it140-m2-assignmentin your own GitHub account. This stores the work you "push" (upload) to GitHub. -
A local clone on a device: Usually
~/Repos/it140-m2-assignmenton the CVD or your local computer. This is the copy you open in VS Code and edit.
Step 6 creates your personal GitHub repository and then creates a local clone on the device where you run the commands.
Choose the situation below that matches what you see.
For example, you created your personal GitHub repository while working on the CVD, and ~/Repos/it140-m2-assignment also exists on that CVD.
Do not run the Step 6 setup commands again.
Open the local clone on your current device:
code ~/Repos/it140-m2-assignmentFor example, you created your personal GitHub repository and local clone on the CVD, but now you are using your local computer for the first time.
Do not create another personal GitHub repository from the public course template.
Instead, create a local clone of your existing personal GitHub repository on the current device:
cd ~/Repos
gh auth setup-git
gh repo clone "$(gh api user --jq .login)/it140-m2-assignment"
cd it140-m2-assignment
git remote -vThen open the new local clone on the current device in VS Code:
code .Do not delete the local clone on this device and do not run the Step 6 setup commands again. The local clone may contain assignment work that has not yet been pushed to your personal GitHub repository.
From the device that contains the local clone, run:
cd ~/Repos/it140-m2-assignment
git remote -vThis shows which GitHub repository the local clone is connected to.
If you are unsure what the output means, or your expected personal GitHub repository is missing, ask for help before deleting or replacing the local clone or anything in your GitHub account.
Important
We highly recommend completing IT 140 work on just one device. Using one device for the course helps avoid Git and GitHub complications that can occur when the same personal GitHub repository is cloned onto more than one device.
If you are already comfortable working with Git and GitHub, you may work from more than one device. Follow the instructions below carefully to keep your copies synchronized.
A single personal GitHub repository can have a local clone on more than one device. For example:
- First device: Your CVD
- Second device: Your local computer
Before leaving the first device, save your changes in the local clone on that first device and push them to your personal GitHub repository.
On the first device, before switching:
cd ~/Repos/it140-m2-assignment
git status
git add -A
git commit -m "Save work before switching devices"
git pushAfter moving to the second device, update the local clone on that second device from your personal GitHub repository before making any new changes.
On the second device, before starting work:
cd ~/Repos/it140-m2-assignment
git pull --ff-only
git status
code .Important
The second command block assumes that a local clone already exists on the second device. If there is no ~/Repos/it140-m2-assignment folder on the second device, follow Your personal GitHub repository exists, but there is no local clone on this device above instead.
If git push on the first device or git pull --ff-only on the second device reports an error, stop and ask for help before making additional changes on either device.
Starting over may involve one or more separate copies:
- Your personal GitHub repository in your GitHub account
- Your local clone on your CVD
- Your local clone on your local computer
Deleting one copy does not necessarily delete the others.
Before deleting or replacing anything, make sure you have saved any work you want to keep. If you have already started the assignment or are unsure which copy is safe to replace, ask for help before continuing.
For more information about these different copies, see Course Repositories.
For a current course-wide technical problem, check Course Status.
If you find a problem with the public course template or its instructions, review existing reports or open a new GitHub Issue.
Warning
Never post passwords, authentication or verification codes, recovery codes, access tokens, private identifying information, or complete solutions to graded assignments in a public GitHub issue or discussion.







