Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to use git with replit
awesomearjun1 (35)

In this tutorial I am going to show you how you use git with replit. First create a project. Then on the side you will see this branch thing called "Source Control"

Click that.
Once you've done that you have to click create git repo

Once you did that you will see this

Then you can make changes to your code, and to go back to previous versions click this:

Now you are done!
But before you go I want to show you another way to do it.
To see the previous versions and the date that you made those versions.
Click this:

Then you see this:

Then Press the triangle thing or just click the date and then click restore:

Now you know how to use git with replit!
Pro Tip:
You can press connect to github to publish it on github:

This is a tic tac toe game I made with it: