Minha resposta, não sei se esta totalmente certa. mais tentei, se algém ver algo errado favor me comunica para eu aprender corrigindo o erro.
obrigado.
Gil@Giuliano-PC MINGW64 ~
$ cd Desktop/curso_de_git
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git add index.html
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git status
On branch master
nothing to commit, working tree clean
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git commit -m "Criando arquito index.html com lista de cursos"
On branch master
nothing to commit, working tree clean
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git add .
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git commit -m "Acento adicionado no curso de Integração Contínua"
On branch master
nothing to commit, working tree clean
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git log
commit 74a0914310690509fe601ddeb8090e3d0de4164d (HEAD -> master)
Author: Giualino Sampaio <giulianosampaio.gbs@gmail.com>
Date: Mon Dec 19 17:18:11 2022 -0300
Criando arquivo index.jtml com lista de cursos
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git log --oneline
74a0914 (HEAD -> master) Criando arquivo index.jtml com lista de cursos
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git log -p
commit 74a0914310690509fe601ddeb8090e3d0de4164d (HEAD -> master)
Author: Giualino Sampaio <giulianosampaio.gbs@gmail.com>
Date: Mon Dec 19 17:18:11 2022 -0300
Criando arquivo index.jtml com lista de cursos
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..16a0803
--- /dev/null
+++ b/index.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Cursos da Alura</title>
+</head>
+<body>
+ <ul>
+ <li>Vagrant</li>
+ <li>Docker</li>
+ <li>Ansible</li>
+ <li>Integração Contínua</li>
+ </ul>
+</body>
+</html>
\ No newline at end of file
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git add .gitignore
fatal: pathspec '.gitignore' did not match any files
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
ide-config.html
nothing added to commit but untracked files present (use "git add" to track)
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git add .gitignore
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git commit -m "Adicionando .gitignore"
[master 7d15fc9] Adicionando .gitignore
1 file changed, 2 insertions(+)
create mode 100644 .gitignore
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git log --oneline
7d15fc9 (HEAD -> master) Adicionando .gitignore
74a0914 Criando arquivo index.jtml com lista de cursos
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$ git status
On branch master
nothing to commit, working tree clean
Gil@Giuliano-PC MINGW64 ~/Desktop/curso_de_git (master)
$