This article discribes the workflow of downloading a script from Agisoft GitHub page. The script from the article Script with general processing workflow is used as an example.

Open the page with the script using the following link:
Open script (click on the *.py file) as shown in the animation below: 

Click Download raw file button:

Then specify the path to the folder where the script should be saved and click Save button. The script will be downloaded as a file in *.py format.