The -C my_directory tells tar to change the current directory to my_directory, and then . means "add the entire current directory" (including hidden files and sub-directories). Make sure you do -C my_directory before you do . or else you'll get the files in the current directory. Warning: you'll get entries as ./file-name.ext instead of file ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.