In this video it shows the steps to connect to a private repo from your Android Studio. It uses the Classic token to authenticate the connection. Further, it shows how one can commit and push the files to the Github repo.
I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com
Screenshots:
![](https://programmerworld.co/wp-content/uploads/2024/03/image-12-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-13.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-14-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-15.png)
For getting Tokens from the Github, goto Settings-> Developer Settings
![](https://programmerworld.co/wp-content/uploads/2024/03/image-16-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-17-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-18-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-19-1024x544.png)
Give some name and choose Write permission scope:
![](https://programmerworld.co/wp-content/uploads/2024/03/image-20-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-21-1024x544.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-22-1024x544.png)
Copy the Token as it will not be available later.
Sampe Token: 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
![](https://programmerworld.co/wp-content/uploads/2024/03/image-23.png)
Use Token option
![](https://programmerworld.co/wp-content/uploads/2024/03/image-24.png)
Once the connection is established then Push the changes:
![](https://programmerworld.co/wp-content/uploads/2024/03/image-25.png)
![](https://programmerworld.co/wp-content/uploads/2024/03/image-26-1024x544.png)