E-mail : support@tech2now.in

GIT INIT

Git Git Hub git commit gir rebase git status git init

Git init is a command that initializes a new Git repository in the current directory. It creates a .git subdirectory in the current directory, which contains all of the necessary Git metadata for the new repository. This metadata includes subdirectories for objects, refs, and template files. A HEAD file is also created which points to the currently checked out commit.

he git init command is used to initialize a new Git repository in a directory. When you run git init, it creates a new, empty Git repository or reinitializes an existing repository, allowing you to start tracking changes to your project’s files.

$git init

The git init command will create a new .git subdirectory in the current directory and now you can now start adding files to the repository.

$git add (By using the command you can start to add file in current repository).

To commit the changes to the repository, run the following command
$git commit -m “commit message”