Fork is a git client for Mac and Windows.
Clone Repository from GitHub to Local Machine
- Open the gitHub page of the repository in your browser.
- Navigate to Code > HTTPS.

- Copy the HTTPS address to your clipboard.
- Open Fork.
- Go to File > Clone.
- The HTTPS address from your clipboard should already be available in the field Repository URL. If not, paste it there.

- In the field Parent Folder, select a local path for the repository.
- Click Clone.
The repository is now available on your local machine.
Upload Local Content to GitHub
Use the following instructions if you have content in a local folder that you want to track with git:
- Open gitHub in your browser and navigate to the menu Your repositories.
- Click New to create a new repository.
- Enter a name for the repository.
- Click Create repository.
- Copy the HTTPS address of the new repository.
- Open Fork.
- Go to File > Init New Repository.
- Select your local folder.
- Commit the content.
- Click Push (1).

- Select Remote > Add Remote (2).
- Paste the HTTPS address from your repository into the field Repository URL. (3).
- Click Add New Remote.
- Open gitHub in your browser to check if the content is available.
Revert Commits
Right-click a commit and select Revert from the context menu. This will create a new commit that will undo the changes from the commit you want to revert.
Interactive Rebase
Use the interactive rebase when it is necessary to edit a past commit, e.g., if the erroneous commit is not your last commit, and you don’t want to lose any of the work in between.
- Locate the last commit BEFORE the erroneous commit.
- Right-click the commit and select Interactive Rebase > Interactively Rebase ‘main’ to Here from the context menu. The window “Interactive Rebase” opens and displays all commits after the selected commit - including the erroneous commit.
- Open the drop-down menu of the erroneous commit to select an action. Edit allows you to edit the content that was committed.

- Will add further instruction when this is needed again…
Hacks
- For some useful tips, refer to the Official Blog.
- Search specific files that were edited: Ctrl+P → File history → filename.
