Week 1: Project Management¶
Research¶
Throughout the first week I catch myself enslaved to freedome… It’s been quite difficult to narrow down a set of ideas for the final project when the choices are infinite.
Although, I had this app on my computer, to make mind maps. I set
What is Git?¶
Git is a distributed version control system [VCS] used by developers to track changes in their code.
Distributed: project members has a full copy.
Version: specific “save points.”
Control: managing and undoing changes.
System: the software itself.
Simply put, git is a tool to help you go back to older versions of your code.
Git is not GitHub/GitLab!
Installing Git & Homebrew¶
Git¶
I am using macOS, and git is preinstalled, yet I proceeded to updating it, as I hadn’t used Terminal in a while. First, I checked the version using the following command:
git --version
I then installed Homebrew both to update, and download other software more swiftly including magick for image manipulations.
Git cheat sheet:
Save Work
git status: check changes
git add: select changes
git commit: save snapshotSync & Share
git pull: download updates
git push: upload updatesBranch & Path
git branch: list/create paths
git checkout: switch paths
git merge: join paths
Homebrew¶
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

// check version again
brew –version// updating git
brew upgrade git git –version
ERROR: git not installed.
After, I turned to chatGPT, pasted the output and found out that the terminal recognized two gits: Apple’s default, and Homebrew’s not yet installed.
brew install git
git --version
Still giving me an error to which chatGPT suggested the following command:
which git
> if expected output was not /opt/homebrew/bin/git
hash -r
git --version
All good!
Compressing Images¶
Yet again with Homebrew, I installed Image Magick and compressed my profile picture using the following command:
magick Hrach_Barseghyan_Headshot.png -quality 75 Hrach_Barseghyan_Headshot.jpg
// both reduced the quality, and converted from .png to .jpg
