issotm@sheik-kitty /tmp/test% git status [master|…3] On branch master No commits yet Untracked files: (use "git add ..." to include in what will be committed) main.c main.h test.c nothing added to commit but untracked files present (use "git add" to track) issotm@sheik-kitty /tmp/test% batcat main.* [master|…3] ───────┬───────────────────────────────────────────────────────────────────────── │ File: main.c ───────┼───────────────────────────────────────────────────────────────────────── 1 │ #include 2 │ 3 │ #include "main.h" 4 │ 5 │ int main() { 6 │ puts("Hello World!"); 7 │ } ───────┴───────────────────────────────────────────────────────────────────────── ───────┬───────────────────────────────────────────────────────────────────────── │ File: main.h ───────┼───────────────────────────────────────────────────────────────────────── 1 │ #ifndef MAIN_H 2 │ #define MAIN_H 3 │ 4 │ // ... 5 │ 6 │ #endif ───────┴───────────────────────────────────────────────────────────────────────── issotm@sheik-kitty /tmp/test% git add main.c main.h [master|…3] issotm@sheik-kitty /tmp/test% git status [master|●2…1] On branch master No commits yet Changes to be committed: (use "git rm --cached ..." to unstage) new file: main.c new file: main.h Untracked files: (use "git add ..." to include in what will be committed) test.c issotm@sheik-kitty /tmp/test% git commit [master|●2…1] [master (root-commit) 3c951ed] Initial commit 2 files changed, 13 insertions(+) create mode 100644 main.c create mode 100644 main.h issotm@sheik-kitty /tmp/test% [master|…1]