but mainly the ones i know off / taken note of. take in mind that i use git bash on windows so some stuff might be different for you. i'm new to all this so i've explained some things from how i understand them. feel free to e-mail me if i got something wrong 
overall
clear- clears the terminal screen.touch [filename]- creates a file.cd [dir]- moves where you are.cd -gets you to the directory you were previously at.mkdir [dirname]- makes a directory / folder.exit- exit terminal.history- gives you a history of your inputs.help- more info.start [filename]- opens a file.mv- for renaming / moving filespwd- shows you where you currently arewhich [programname]- tells you the location path the terminal is using to locate the program.ls- lists files of the directory you're currently in.ls -lfor a more detailed listing.rm- remove a file.echo- outputs whatever you give it.cat [filename]- outputs the contents of that file in the terminalcp [filename1] [newfile]- copies a files. you can also achieve the same withcat <[filename1]> [newfile]find -name '*[search]*'- searches for files with that word.sudo- run things as a superusernotepad [filename]- opens file on notepad
notes
when typing a file that has an ! you need to escape it using the backslash. if i have a folder called !g/ then you would write \!g/ on the terminal.
files with spaces need to be closed with single or double quotes like this 'folder 1'
use q to quit some scripts
>> this is an append. | this is a pipe
git
git help- help for git commands.git init- initializes a repogit status- list changesgit restore [filename]- restores a filegit add [files] [dirs]- things to stage for agit commit. you can also usegit add -pand it will ask you to yes or no every change before adding it. you can also dogit add .to add all changes made to that current directory.git commit -m "[your message here!]"- commits changes while also adding a message to them.git push- pushes the code out there.git fetch- fetches code.git pull- pulls code for any changes.git diff --stat --cached [remote/branch]- shows you commits that are about to be pushed. remote/branch is usuallyorigin/mainfor me.git show- show changes madegit log- previous commits