Open In App
Related Articles

How to Add Videos on README .md File in a GitHub Repository?

Improve Article
Save Article
Like Article

Git is known as the free and open-source distributed version control system that is specially made to handle everything from small to very large projects. Github is a highly used software that is used for version control. When working in a team where we have more than one developer, this software comes in handy.

Importance of Git and Github?

To understand why do we need software like Git and GitHub let us consider a scenario where we want to create a simple text file. Now suppose we want to make some changes to it and then save it again. This we can do easily but suppose we are making changes to file a large number of times and we want to revert back to anyone of the changes in the sequence. In such scenarios Git is efficient. It controls the version of our file or software. Now suppose there is more than one person in a project and they want to make a few changes so that the other person can easily access it, in such case we use Github. A GitHub is used to host repositories remotely.


Video is an electronic medium that depicts some visual media. Videos were firstly made for mechanical televisions and later replaced by CRT ( Cathode Ray Tube). 

Proceeding further Git and Github basics are a must pre-requisite to go where here we will be getting how we can add a video in the file of a GitHub repository. This article focuses upon how we can add videos in the file in a Github repository.

Adding Video to the README file

In the following below steps, we have illustrated to add a video in the file.

Step 1: Open the Github website using

Step 2: Now click on the top right corner to create a new repository.

Step 3: Now click on “Your repositories“.

Step 4: Click on the “New” option. This will redirect us to fill in details for our new repository.

A new page will open:

Step 5: Enter the details for your repository and click on the “Create repository” button to create a new repository. For illustration purposes, we are creating a public repository by the name “GeeksforGeeks“. We have given description to our repository as “Adding a video to“. Also check the checkbox, “Add a README file“. It will automatically append the README along with the repository. 

Now we have successfully created a new repository by the name “GeeksforGeeks“. For now, our README file has the following contents.

Step 6: Click on the pencil icon button to edit the file.

Step 7: Drag and drop the video that you want to add to the README file. 

Step 8: Click on the “Commit changes” button.

Final Outcome

We have added the video successfully. Likewise, we can any video to the file.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 03 Jan, 2022
Like Article
Save Article
Similar Reads