<jupyter_start><jupyter_text>Introduction to Version Control: Syncronising RepositoriesThis tutorial will teach you the first part to sycroninsing your online (remote) and local repositories. We will run through the instructions in S1_Introduction_to_version_control.ipynb sections:- Creating a Local Repository on your Personal Computer.- Syncronising Repositories  Creating a Local Repository on your Personal ComputerIn addition to the local copy of the textbook you have stored on the Kyoto University M drive, you are going to make a local copy of the interactive textbook on your personal computer so that you can make and save changes.e.g. when doing your homework. This is the same process as when you initially *cloned* the textbook from the ILAS_python online repository, except this time you will clone the textbook from your personal GitHub repository.You may use you personal computer for this exercise.You may borrow a laptop to complete the exercise but you MUST repeat it on your personal computer before the next seminar.The computer you are using __must have Git and Jupyter notebook installed.__  Open the terminal:__On Windows:__ - press "win key" + "R" - type: __cmd__ - press enter  __On Mac:__ - Open the "Terminal" application   __On Linux:__ - Open the "Terminal" application  or  - press "Ctrl" + "Alt" + "T" Using `cd`, navigate to where you want the folder containing the textbook to appear.<jupyter_code>In a web browswer, open your personal Github page that you created earlier. 

Navigate to the online repository to which you uploaded the textbook. 

*Note that you can view the textbook online on the GitHub site.*

Click the button "Clone or download" and copy the link by presssing Ctrl , C

<img src="../../../ILAS_seminars/intro to python/img/clone-url.png" alt="Drawing" style="width: 500px;"/>
In the terminal type `git clone`. After the word `clone` leave a space and then paste the URL that you just copied.:

> `git clone` [PASTE COPIED URL HERE]

In the terminal type:

> `dir`

A folder called "ILAS_python" should have appeared. 

Go into the folder and view the content by typing:

>`cd ILAS_python`
><br>`dir`<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0585544373284538, 'fraction_numerical': 0.0018298261665141812, 'mean_word_length': 4.63659793814433, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '245691', 'license': 'MIT', 'n_tokens_mistral': 586, 'n_tokens_neox': 554, 'n_words': 315, 'path': '.ipynb_checkpoints/S1a_Intro_to_version_control_Syncronising_repos_Slides-checkpoint.ipynb', 'repo_name': 'hphilamore/ILAS_python_', 'size': '2186'}