C utils I like to have.
As submodule
git submodule add https://github.com/lakazatong/c_utils libs/c_utils
As source
git clone https://github.com/lakazatong/c_utils libs/c_utils
In your repo
#include "libs/c_utils/all.h"
In the libs folder
#include "../c_utils/all.h"
make && test.exe
You would need a way to run make on Windows. Remove the .exe extension in the Makefile for Linux.
git submodule update --remote --merge
path=libs/c_utils && git submodule deinit -f path && rm -rf .git/modules/path && git rm -f path
Taken from here.