git invalid path on Windows

Windows File System supports the filenames that ends with space ( ) and period (.).
But does not support it by git for Windows.