arquivo Index.html criado na pasta "teste" :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<h1>TESTE GIT-GITHUB</h1>
</body>
</html>
No terminal do Git:
profe@LAPTOP-BTPG0A3B MINGW64 /C/Users/profe/OneDrive/Documentos $ cd /C/Users/profe/OneDrive/Documentos/teste/
profe@LAPTOP-BTPG0A3B MINGW64 /C/Users/profe/OneDrive/Documentos/teste $ ls index.html
profe@LAPTOP-BTPG0A3B MINGW64 /C/Users/profe/OneDrive/Documentos/teste $ git init Initialized empty Git repository in C:/Users/profe/OneDrive/Documentos/teste/.git/
profe@LAPTOP-BTPG0A3B MINGW64 /C/Users/profe/OneDrive/Documentos/teste (master) $ git status On branch master
No commits yet
Untracked files: (use "git add ..." to include in what will be committed) index.html
nothing added to commit but untracked files present (use "git add" to track)
profe@LAPTOP-BTPG0A3B MINGW64 /C/Users/profe/OneDrive/Documentos/teste (master)