After downloading git, we will initialize it within few steps:
we will log in to bitbucket account.
We will create a new repository by clicking the add button also have to give a repository name & click on the create repository button.
A new link will generate & we have to use this link in git.
We have to go into the directory containing the project. After that, we will initialize git by right click.
We have to click on the gitbash here option.
We will write some codes here to push the directory file/project in the bitbucket repository.
git config –global user.email “firstname.lastname@example.org”
git config –global user.name “Suman Bhattacharjee”
git remote add origin (https://email@example.com/sumansb30/template_imperia_club.git)
git commit -am “Initial Commit”
git push -u origin –all
git push -uf origin –all
only this git remote origin must be used as per local Git repository on Bitbucket.
Now the file is added to the bitbucket repository…Click on refresh & you can see it.